﻿<script type="text/mustache-template" id="OrderDetailTemplate">
    <div id="OrderDetail">
        {{>header}}
        <div class="scroll-wrapper" id="OrderDetailWrapper">
            <div class="scroll-inner">
                <div class='pad-6 orderDetail'>
                   
                </div>
            </div>
        </div>
    </div>
</script>
<script type="text/mustache-template" id="OrderDetailHeadTemplate">
     <ul>
        <li>
        订单编号：{{OrderNumber}}
        <br>
        状态：{{Status}}
        <br>
        下单时间：{{CreateTime}}
        </li>
        <li>
        {{#NeedPay}}
            <a><div class='operation' style="left:0;"><font color="red">在线支付</font><span class='arrow'></span></div></a>
            <a><div class='operation' style="border-left: 1px solid #DED6C9;"><font color="red">取消订单</font><span class='arrow'></span></div></a>
        {{/NeedPay}}
        {{^NeedPay}}
            <span class="red">{{Status}}</span>
        {{/NeedPay}}
        </li>
    </ul>
</script>

<script type="text/mustache-template" id="OrderDetailTrackTemplate">
    <ul>
        <li style="padding-left:56px;">
            <span class="succ-img"></span>
            2012-09-22 11:04:59<br>您提交了订单，请等待系统确认  客户
        </li>
    </ul>
</script>

<script type="text/mustache-template" id="OrderDetailPriceTemplate">
    <ul class='orderPayment pointer'>
        <li>
            订单金额：<span class='red'>{{ShouldPayPrice}}</span><br>
            下单时间：{{CreateTime}}
        </li>
    </ul>
</script>

<script type="text/mustache-template" id="PayDetailTemplate">
    <div id="PayDetail">
        {{>header}}
        <div class="scroll-wrapper" id="PayDetailWrapper">
            <div class="scroll-inner">
                <div class='pad-6 payDetail'>
                   
                </div>
            </div>
        </div>
    </div>
</script>

<script type="text/mustache-template" id="PayDetailPaymentTemplate">
    <div id="hiddenPayDetail" style="display:none;">
        <ul>
            <li>
                <span class="red">付款方式：{{PaymentName}}</span><br>
                商品金额：￥{{ProductPrice}}<br>
                配送费用：￥{{DispatchPrice}}<br>
                发票税额：￥{{InvoiceTax}}<br>
                包装费用：￥{{PackPrice}}<br>
                贺卡费用：￥{{BlessCardPrice}}<br>
                保价费用：￥{{InsurePrice}}<br>
                支付手续费：￥{{PaymentPrice}}<br>
                折扣优惠：￥{{Discount}}<br>
                使用余额：￥{{SurplusPrice}}<br>
                优惠券抵用金额：￥{{ActvieContent}}<br>
                使用积分：￥{{ScorePrice}}<br>
                应支付金额：￥{{ShouldPayPrice}}
            </li>
        </ul>
        <ul>
            <li>
                <span class="red">收货人信息</span><br>
                收货人：{{Name}}<br>
                地址：{{Address}}<br>
                手机：{{Mobile}}<br>
                电子邮件：{{Email}}
            </li>
        </ul>
        <ul>
            <li>
                <span class='red'>配送信息</span><br>
                配送方式：{{DispatchModeName}}
            </li>
        </ul>
        {{#HasInvoice}}
        <ul>
            <li>
                <span class='red'>发票信息</span><br>
                发票类型：{{InvoiceType}}<br>
                发票抬头：{{InvoiceTitle}}<br>
                发票内容：{{InvoiceContent}}
            </li>
        </ul>
        {{/HasInvoice}}
        {{^HasInvoice}}
         <ul>
            <li>
                <span class='red'>发票信息</span><br>
                发票类型：不开发票
            </li>
        </ul>
        {{/HasInvoice}}
    </div>
</script>

<script type="text/mustache-template" id="PayDetailProductListTemplate">
    <ul style="color:#3C3C3C;" class="fetchDetail">
        {{#products}}
        <li class='pointer' productid='{{ProductGuid}}' productprice='{{BuyPrice}}'>
            {{NAME}}<br>数量：{{BuyNumber}}
        </li>
        {{/products}}
    </ul>
</script>
